package dao

import (
	"github.com/google/uuid"
	__ "hospital-srv/basic/proto"
	"hospital-srv/untils"
	"strconv"
)

func AliPay(in *__.AlipayReq) (error, string) {
	var err error
	pay := untils.AliPay{}
	PayURL := pay.Pay(uuid.NewString(), strconv.FormatInt(in.Price, 10))
	return err, PayURL
}
